package com.fzu.ess.sys.service;

import com.fzu.ess.sys.entity.Role;

import java.util.List;

/**
 * Created by ercha on 2015/10/16.
 */
public interface RoleService {
    String create(Role role);

    /** 传入 id */
    boolean delete(Role role);

    boolean update(Role role);

    Role findById(String id);

    List<Role> getAllRole();
}
